home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / PowerFantasm™ 4.19a / Beginners guide / Beginners Mac Assembly - ed.srd / Beginners Mac Assembly - ed.srd.rsrc / PICT_9.png < prev    next >
Portable Network Graphic  |  1996-08-28  |  74KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | reckoner | sky
OCR: Wed Aug 28 1996 Beginners Guide Macintosh Assembly Language Programming gPage Hexadecimal notation Hex is just number system, the same as decimal and binary In decimal we use base 10 in binary we use base and in hex we use base 16 How can we use base 16 if we only have ten digits (0-9 Good question The digit set extended using the letters If you can understand binary hex isn't a big deal Each hex digit represents bits IO nibble An example IS probably easiest to understand: Here's an easy one 255 in binary is 11111111 (8 ones). To get 255 n hex first convert to binary then split it up into nibbles, 1111 1111 Each hex is a nibble. so 1111 is 16 in decimal, or F in hexadecimal. Therefore 255 11111111 in binary or FF in hex To show this is a hex number we precede it with a dollar sign $FF or t ...